CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

PROJECT(Logger)

SET(CMAKE_CXX_COMPILE "g++")
SET(CMAKE_BUILD_TYPE Release)

add_subdirectory(utility)
list(APPEND EXTRA_LIBS utility)
list(APPEND EXTRA_INCLUDES "${PROJECT_SOURCE_DIR}/utility")

add_executable(Logger main.cpp)

target_link_libraries(Logger PUBLIC ${EXTRA_LIBS})

target_include_directories(Logger PUBLIC
                           "${PROJECT_BINARY_DIR}"
                           ${EXTRA_INCLUDES}
                           )